//package com.xhdd.conf;
//
//import org.springframework.web.bind.annotation.ControllerAdvice;
//import org.springframework.web.bind.annotation.ExceptionHandler;
//import org.springframework.web.bind.annotation.ResponseBody;
//
///*全局异常处理*/
//@ControllerAdvice
//public class GlobalExceptionHandler {
//
//    @ExceptionHandler(value = Exception.class)
//    @ResponseBody
//    public String exceptionHandler(Exception e) {
//        return "Exception->" + e.getMessage();
//    }
//}
